/**
 * <p>Title: User.java</p>
 * <p>Description: </p>
 *
 * @author caifugui
 * @email fuxuemingzhu@163.com
 * @date 2015年5月23日  下午2:30:25
 * @version 1.0
 */
package com.buptlogistics.creditinvestigation.entity;


import com.alibaba.fastjson.JSON;

/**
 * <p>
 * Title: User
 * </p>
 * <p>
 * Description:用户实体类
 * </p>
 *
 * @author caifugui
 * @email fuxuemingzhu@163.com
 * @date 2015年9月10日 下午5:16:27
 */
public class User {

    /**
     * 用户id
     */
    private String id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户昵称
     */
    private String userPhone;
    /**
     * 用户头像地址
     */
    private String userCompany;
    /**
     * 用户性别：m表示男性，f表示女性，n表示隐藏性别
     */
    private String userCompanyCode;

    /**
     * userPassword 签名
     */
    private String userPassword;
    /**
     * user_property 用户账户余额
     */
    private String userProperty;


    /**
     * <p>
     * Title:
     * </p>
     * <p>
     * Description:
     * </p>
     */
    public User() {
        super();
    }

    /**
     * <p>
     * Title:
     * </p>
     * <p>
     * Description:
     * </p>
     *
     * @param userName
     */
    public User(String userName, String userPassword, String userPhone, String userCompany, String
            userCompanyCode) {
        super();
        this.id = "";
        this.userName = userName;
        this.userPhone = userPhone;
        this.userCompany = userCompany;
        this.userCompanyCode = userCompanyCode;
        this.userPassword = userPassword;
        this.userProperty = "";
    }


    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param user_name the userName to set
     */
    public void setUserName(String user_name) {
        this.userName = user_name;
    }

    /**
     * @return the userCompany
     */
    public String getUserCompany() {
        return userCompany;
    }

    /**
     * @param user_company the userCompany to set
     */
    public void setUserCompany(String user_company) {
        this.userCompany = user_company;
    }

    /**
     * @return the userCompanyCode
     */
    public String getUserCompanyCode() {
        return userCompanyCode;
    }

    /**
     * @param user_company_code the userCompanyCode to set
     */
    public void setUserCompanyCode(String user_company_code) {
        this.userCompanyCode = user_company_code;
    }


    /**
     * @return the userPassword
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * @param user_password the userPassword to set
     */
    public void setUserPassword(String user_password) {
        this.userPassword = user_password;
    }

    /**
     * @return the userPhone
     */
    public String getUserPhone() {
        return userPhone;
    }

    /**
     * @param user_phone the userPhone to set
     */
    public void setUserPhone(String user_phone) {
        this.userPhone = user_phone;
    }

    public String getUserProperty() {
        return userProperty;
    }

    public void setUserProperty(String userProperty) {
        this.userProperty = userProperty;
    }

    /**
     * （非 Javadoc）
     * <p>
     * Title: toString
     * </p>
     * <p>
     * Description:
     * </p>
     *
     * @return
     *
     * @see Object#toString()
     */
    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

}
